package com.example.web.sys_user.service;

import com.example.web.sys_menu.entity.AssignTreeParam;
import com.example.web.sys_menu.entity.AssignTreeVo;
import com.example.web.sys_user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LS
 * @since 2024-02-20
 */
public interface IUserService extends IService<User> {

    //新增
    void saveUser(User user);
    //编辑
    void editUser(User user);
    //删除用户
    void deleteUser(Long userId);
    //查询菜单树
    AssignTreeVo getAssignTree(AssignTreeParam param);
    //根据用户名查用户
    User loadUser(String username);
}
